// 静态成员：使用static修饰
(() => {
    class Person {
        name: string
        constructor(name: string) {
            this.name = name

        }
        sayHi() {
            console.log('萨瓦迪卡');

        }
    }

    const person = new Person('小甜甜')
    console.log(person.name);
    person.sayHi()


})()